package com.daichi.yygh.order.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.daichi.yygh.model.order.OrderInfo;
import com.daichi.yygh.vo.order.OrderCountQueryVo;
import com.daichi.yygh.vo.order.OrderQueryVo;

import java.util.Map;

public interface OrderService extends IService<OrderInfo> {

    Long saveOrder(String scheduleId, Long patientId);

    OrderInfo getOrder(Long orderId);

    Page<OrderInfo> selectPage(Page<OrderInfo> page, OrderQueryVo orderQueryVo);

    Map<String, Object> show(Long orderId);

    boolean cancelOrder(Long orderId);

    void patientTips();

    Map<String, Object> getCountMap(OrderCountQueryVo orderCountQueryVo);

}
